package com.wze.wze.Service;

import com.wze.wze.Entity.GeDan;
import com.wze.wze.Impl.GeDanImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GeDanService implements GeDanImpl {
    @Resource
    GeDanImpl geDan;

    @Override
    public GeDan getGeDanById(int id) {
        return geDan.getGeDanById(id);
    }

    @Override
    public List<GeDan> getGeDanList(int Start, int Page, int id, int Uid) {
        return geDan.getGeDanList(Start, Page, id, Uid);
    }

    @Override
    public int getGeDanCount() {
        return geDan.getGeDanCount();
    }
}
